package org.fujay.langchain4jserver.application.command;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.fujay.langchain4jserver.domain.knowledge.vo.KnowledgeBaseId;
import org.fujay.langchain4jserver.domain.model.vo.ModelId;

/**
 * 更新知识库基本信息命令
 */
@Data
public class UpdateKnowledgeBaseInfoCommand {

    /**
     * 知识库ID (必填)
     */
    @NotNull(message = "知识库ID不能为空")
    private KnowledgeBaseId id;

    private String name;

    private String description;

    private ModelId modelId;
}
